package com.hfzy.ihk.facade.freeswitchManage.entity;

import com.hfzy.ihk.common.facade.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author wws
 * @since 2018-12-29
 */
@Data
@Accessors(chain = true)
public class Channels implements BaseEntity {

    private static final long serialVersionUID = 1L;

    private String uuid;

    private String direction;

    private String created;

    private Integer createdEpoch;

    private String name;

    private String state;

    private String cidName;

    private String cidNum;

    private String ipAddr;

    private String dest;

    private String application;

    private String applicationData;

    private String dialplan;

    private String context;

    private String readCodec;

    private String readRate;

    private String readBitRate;

    private String writeCodec;

    private String writeRate;

    private String writeBitRate;

    private String secure;

    private String hostname;

    private String presenceId;

    private String presenceData;

    private String accountcode;

    private String callstate;

    private String calleeName;

    private String calleeNum;

    private String calleeDirection;

    private String callUuid;

    private String sentCalleeName;

    private String sentCalleeNum;

    private String initialCidName;

    private String initialCidNum;

    private String initialIpAddr;

    private String initialDest;

    private String initialDialplan;

    private String initialContext;

    @Override
    public Serializable getId() {
        return uuid;
    }
}
